Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] canvas: Fix link runtime state modeling #2591

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

ales-erjavec
Copy link
Contributor

Issue

Links in workflow previews are rendered as dotted lines. This is due to workflow mode's inability to account for the possibility that it has no associated runtime execution state.

Description of changes

Add (and use as default) a NoState flag to account for no runtime execution state. Style the graphical presentation accordingly.

Includes
  • Code changes
  • Tests
  • Documentation

Add (and use as default) a `NoState` flag to account for no
runtime execution state.
@codecov-io
Copy link

Codecov Report

Merging #2591 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2591   +/-   ##
=======================================
  Coverage   75.08%   75.08%           
=======================================
  Files         327      327           
  Lines       57669    57669           
=======================================
  Hits        43298    43298           
  Misses      14371    14371

#: A link is pending when it's sink node has not yet been notified
#: of a change (note that Empty|Pending is a valid state)
Pending = 2
Pending = 4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Pending a valid state or is it always Empty|Pending or Active|Pending?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's say it is valid.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked because it used to be marked with a dashed line (it was not active), but it is marked with a solid line in this PR (it is not empty). If the state does not occur normally by itself, it is not a problem.

@astaric astaric merged commit dd60435 into biolab:master Sep 14, 2017
@ales-erjavec ales-erjavec deleted the fixes/canvas/link-state branch November 14, 2017 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants